import Home from "../views/Home"
import Login from "../views/Login"
import {Navigate} from "react-router-dom"
const route = [
  {
    path:"/",
    element:<Navigate to="/home"></Navigate>
  },
  {
    path:"/home",
    element:<Home></Home>
  },
  {
    path:"/login",
    element:<Login></Login>
  }
]

export default route
